package stu.lee.dao;


import org.apache.ibatis.annotations.Select;
import stu.lee.entity.Admin;

import java.util.List;

public interface AdminMapper {
    List<Admin> showAllAdmin();

    List<Admin> login(Admin admin);

    @Select("select * from admin where 1=1")
    List<Admin> show();

    void register(Admin admin);
}
